/**
 * apis 示例
 * import { getUserInfo } from './apis.js'
 */

import Http from './http.js';
import config from './config.js';

const { get, post } = new Http(config);

/**
 * 获取用户信息
 * @param {*} params
 */
export const getUserInfo = params => get('api/v1/userInfo', params);

/**
 * 删除用户
 * @param {*} data
 */
export const removeUser = data => post('api/v1/removeUser', data);
